﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace App.Interface
{
    public interface IJiaoZhiGong : IDependency
    {
        void AddEmployee(string zh, string xm, string sj, int xb, int ksid, int zwid);
        void UpdateEmployee(string userid, string xm, string sj, int xb, int ksid, int zwid);
        void DelEmployee(string userid);
        string GetEmployees(string keyword, int ksid, int zwid, int pageIndex, int pageSize);
        string GetEmployee(string userid);
        string GetEmployeebyusername(string username);
        void UpdatePassword(string username, string oldpassword, string newpassword);
        void ResetPassword(string username);
        //void ChangePassword(string userid, string oldpassword, string newpassword);
    }
}
